import Vue from 'vue';
import App from './App.vue';

// 在vant框架引入需要的模块
import { Toast, Icon, Uploader, Dialog, Field, Picker, Tab, Tabs, List, PullRefresh, Search } from 'vant';
// 挂载
Vue.use(Toast)
  .use(Icon)
  .use(Uploader)
  .use(Dialog)
  .use(Field)
  .use(Picker)
  .use(Tab)
  .use(Tabs)
  .use(List)
  .use(PullRefresh)
  .use(Search);

// 引入初始化样式文件
import '@/styles/reset.less';

// 引入路由
import router from '@/router/index.js';

Vue.config.productionTip = false;

new Vue({
  router,
  render: h => h(App),
}).$mount('#app');
